package com.sse.product.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sse.product.rbac.entity.Menus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author junyongli
 * @since 2022-07-22
 */
@Repository
public interface MenusMapper extends BaseMapper<Menus> {

    List<Menus> queryUserAuthority(@Param("userid") Long userid);

    List<Menus> listByUniqueName(String uniqueName);
}
